<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" content=""/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>英卡电子</title>
    <meta name="author" content="Cqingwo-Liu"/>
    <meta name="copyright" content="Copyright (c) 2011 Cqingwo All Rights Reserved."/>
    <!-- struts -->
    <link href="/static/admin/css/style.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/static/admin/css/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="/static/admin/css/miluo.css"/>
    <!-- 调用远程jquery -->
    <script src="https://cdn.cqwo.com/js/jquery.min.js" type="text/javascript"></script>
    <!-- 调用Bootstrap-->
    <script src="https://cdn.cqwo.com/js/bootstrap.min.js" type="text/javascript"></script>
    <!--公共JS方法-->
    <script src="https://cdn.cqwo.com/js/commom.js" type="text/javascript"></script>
    <script type="text/javascript" src="/static/admin/scripts/showlist.js"></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.cqwo.com/js/html5shiv.min.js"></script>
    <script src="https://cdn.cqwo.com/js/respond.min.js"></script>
    <![endif]-->

    <style type="text/css">
        table {
            table-layout:fixed;
            word-wrap:break-word;
        }
        td {
            white-space:nowrap;
            overflow:hidden;
            text-overflow: ellipsis;
        }
    </style>
</head>

<body>

<div id="wrapper">
    <div class="title">
        <div class="position">
            <img src="/static/admin/images/position.png" alt=""/>
            <a href="#">发现管理</a>
            <img src="/static/admin/images/right.png" alt=""/>
            <span>发现列表</span>
        </div>
        <div th:replace="~{admin/shared/common_message :: hope}"></div>
    </div>

    <form action="list" method="post">

        <div id="contenr">
            <div class="contenr">
                <div class="hurf">
                    <div class="input-group col-md-12">
                        <table style="table-layout: fixed">
                            <tbody>
                            <tr>
                                <td style="font-size: 12px;">用户名：</td>
                                <td width="170"><input class="form-control" id="realName" name="realName"
                                                       placeholder="用户名" style="font-size: 10px; height:28px;"
                                                       type="text" value=""/></td>

                                <td width="35">&nbsp;</td>
                                <td style="font-size: 12px;">用户ID：</td>
                                <td width="170"><input class="form-control" data-val="true" data-val-number="字段 Uid 必须是一个数字。"
                                                       id="uid" name="uid" placeholder="用户ID"
                                                       style="font-size: 10px; height:28px;" type="text" value="0"/>
                                </td>
                                <td width="35">&nbsp;</td>
                                <td style="font-size: 12px;">发现标题：</td>
                                <td width="170"><input class="form-control" id="title" name="title" placeholder="发现标题"
                                                       style="font-size: 10px; height:28px;" type="text" value=""/></td>
                                <td width="35">&nbsp;</td>
                                <td>
                                    <button class="searchBut submit" style="height: 28px; width: 70px; border: none"
                                            type="submit" value="搜索">搜索
                                    </button>
                                </td>
                                <!--<a class="btn btn-default right" href="add.html"
                                   style="font-size: 10px; height:28px;">添加用户</a>-->
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="clear clearfix"></div>
                <table width="98%" class="table table-striped table-bordered table-hover">
                    <thead>
                    <tr>
                        <th width="40" align="center"><input type="checkbox" id="allSelect"/></th>
                        <th align="center">发现标题</th>
                        <th align="center">事件地址</th>
                        <th align="center">事件等级</th>
                        <th align="center">上报时间</th>
                        <!--<th align="left">用户名</th>-->
                        <th align="center">真实姓名</th>
                        <!--<th align="left">联系方式</th>-->
                        <th align="center">简单描述</th>
                        <th align="center">报事栏目</th>
                        <th align="center">负责人</th>
                        <th align="center">事理状态</th>
                        <th align="left">管理操作</th>
                    </tr>
                    </thead>
                    <tbody>


                    <tr th:each="specile : ${Model.findInfoList}">
                        <td align="center"><input type="checkbox"/></td>
                        <td align="left" th:title="${specile.title}" th:text="${specile.title}"></td>
                        <td align="left" th:title="${specile.address}" th:text="${specile.address}"></td>
                        <td align="left" th:text="${specile.level}"></td>
                        <td align="left" th:title="${DateHelper.timeformat(specile.createTime)}" th:text="${DateHelper.timeformat(specile.createTime)}"></td>
                        <!--<td align="left" th:text="${specile.userName}"></td>-->
                        <td align="left" th:title="${specile.realName}" th:text="${specile.realName}"></td>
                        <!--<td align="left" th:text="${specile.mobile}"></td>-->
                        <td align="left" th:title="${specile.description}" th:text="${specile.description}"></td>
                        <td align="left" th:text="${specile.cateName}"></td>
                        <td align="left" th:text="${specile.processUid}"></td>
                        <span th:if ="${specile.state ==10}"><td>发送</td></span>
                        <span th:if ="${specile.state ==20}"><td>审核</td></span>
                        <span th:if ="${specile.state ==30}"><td>处理</td></span>
                        <span th:if ="${specile.state ==60}"><td>奖励</td></span>
                        <span th:if ="${specile.state ==70}"><td>完成</td></span>
                        <span th:if ="${specile.state ==160}"><td>误报</td></span>
                        <span th:if ="${specile.state ==180}"><td>取消</td></span>
                        <span th:if ="${specile.state ==200}"><td>锁定</td></span>
                        <td align="left">
                            <a class="btn btn-default right"
                               th:href="'detail?findId='+${specile.findId}"
                               style="font-size: 10px; height:28px;">详情</a></td>
                    </tr>

                    </tbody>
                </table>
                <div class="clear clearfix"></div>
                <div class="number">
                    <ul id="dataPageList" class="pagination" th:utext="${Model.pageModel.toString()}">
                    </ul>
                </div>
            </div>
        </div>
    </form>
</div>

</body>

</html>
